package com.qqtech.qquan.sms.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.qqtech.core.frame.dao.BaseDaoImpl;
import com.qqtech.qquan.sms.model.*;

@Repository
public class SmsTemplateDaoImpl extends BaseDaoImpl<SmsTemplate> implements SmsTemplateDao {
	public static final Logger log = LoggerFactory.getLogger(SmsTemplateDaoImpl.class);
	
	public SmsTemplate getByName(java.lang.String name) {
		return sqlSessionTemplate.selectOne(getSqlName("selectByName"), name);
	}	
}
